Home > biomechZoo > Toolbox > Support Functions > isin.m

isin

PURPOSE ^

r = isin(str,a) verifies is substring 'substr' is in string or cell array of

SYNOPSIS ^

function r= isin(str,substr)

DESCRIPTION ^

 r = isin(str,a) verifies is substring 'substr' is in string or cell array of
 strings 'str'

 ARGUMENTS
 str ...  string or cell array of strings
 substr   ...  substring

 RETURN
 r   ...  logical 0 or 1 


 Updated Oct 2013
 - imporved help function

 Updated February 2014
 - can accept cell array of srings for multiple comparisons

 Updated Oct 2020
 - added deprecation warning. 

 Updated Nov 2020
 - removed depreciation to maintain support for older versions

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005